
#pragma once

#include "PacketReader.h"
#include "PacketWriter.h"


extern void PacketCollectInit();
extern void PacketCollectClose();

extern int ReceivePacketSet(PacketReaderHandle handle);
extern int ReceivePacketGet(PacketReaderHandle *handle);

extern int SendPacketSet(PacketWriterHandle handle);
extern int SendPacketGet(PacketWriterHandle *handle);
extern int SendPacketFree();